package com.miplus.ccrm.core.service.strategy;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.yulichang.base.MPJBaseService;
import com.miplus.ccrm.common.CmdResVo;
import com.miplus.ccrm.core.controller.vo.conf.NamesResVo;
import com.miplus.ccrm.core.controller.vo.strategy.RuleVarListReqVo;
import com.miplus.ccrm.core.controller.vo.strategy.RuleVarsListResVo;
import com.miplus.ccrm.core.pojo.CfgRuleVars;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author wangzl
* @description 针对表【cfg_rule_vars】的数据库操作Service
* @createDate 2024-10-21 14:10:00
*/
public interface CfgRuleVarsService extends IService<CfgRuleVars> {
    List<RuleVarsListResVo> getRuleVarsList(String varsGroup);
    RuleVarsListResVo getRuleVar(Long varId);
    CmdResVo addRuleVar(String usrId, CfgRuleVars cfgRuleVars);
    CmdResVo updateRuleVar(String usrId, CfgRuleVars cfgRuleVars);
    CmdResVo deleteRuleVar(Long varId);
    List<NamesResVo> getRuleVarSelectOption(Long varId);
    IPage<RuleVarsListResVo> getRuleVarPageList(RuleVarListReqVo vo);
}
